Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CIS-3 NFT] Fix nonce event serialization #423

Merged
merged 3 commits into from
May 14, 2024

Conversation

lassemoldrup
Copy link
Contributor

@lassemoldrup lassemoldrup commented Apr 23, 2024

Purpose

As per the CIS-3 specification, nonce events should be serialized with the nonce first, followed by the account. This is currently not the case.

@lassemoldrup lassemoldrup requested review from DOBEN and Bargsteen April 23, 2024 13:26
@lassemoldrup lassemoldrup changed the title ]Fix nonce event serialization [CIS-3 NFT] Fix nonce event serialization Apr 23, 2024
Copy link
Member

@DOBEN DOBEN left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you apply these changes to:

  • cis2-multi contract as well (implements the CIS3 standard).

Consider changing the order of the fields in the NonceEvent in the cis5-smart-contract-wallet (we haven't formally defined the standard yet, but keeping consistency in the NonceEvent seems meaningful across the contracts).

Copy link
Contributor

@Bargsteen Bargsteen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you also make the changes that Doris suggested, then it's good to go.
I assume that you tested it with CCD Scan as well, but did you also test the dApp?

@lassemoldrup lassemoldrup merged commit 8fb01c5 into main May 14, 2024
138 checks passed
@lassemoldrup lassemoldrup deleted the fix-nonce-event-serialization branch May 14, 2024 11:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants